from brian import *
from brian.library.random_processes import *
from brian.library.synapses import  *
#set_global_preferences(useweave=True,usecodegenweave = True)

class globVars:
    ISI = 1
    DUR = 5000
    BINSIZE = 50
    
    # Parameters 
    L=20*umetre
    dia=20*umetre
    
    Ek=-80*mV
    Ena=55*mV
    eCa=80*mV
    
    El=-64*mV #
    #Elint = -60*mV
    
    taumna = 0.000001*msecond
    tau_m_nap = 0.00001*msecond
    tau_m_can = 4*msecond
    tau_h_can = 40*msecond
    tau_m_cal = 40*msecond
    vinit=-63
    
    taue=5*ms
    taui=5*ms
    Ee=-10*mV
    Ei=-70*mV
    we=0.5*nS # excitatory synaptic weight (voltage)
    wi=67*nS # inhibitory synaptic weight
    GSarea=20*20*math.pi*umetre*umetre
    gsynapse=50*uS*cm**-2*GSarea

    
